package com.tanhua.api.mongo;

import com.tanhua.domain.vo.UserLocationVo;

import java.util.List;

public interface UserLocationApi {
    void saveLocation(Double x_longitude, Double y_latitude, String addrStr, Long userId);

    List<UserLocationVo> search(Long userId, Integer distance);
}
